import React from 'react';
import { RouterProvider } from 'react-router-dom';
import router from './router';

// 创建组件,使用hooks
const App =  () => {
  return (
    <div id="App">
      <RouterProvider router={router}/>
    </div>
  );
}


export default App;